﻿<!-- ReSharper disable InconsistentNaming -->
<Application x:Class="WSManager.Wpf.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:help="clr-namespace:WSManager.Wpf.WpfHelper"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
        <help:BoolToVisibility x:Key="boolToVisibility" />
        <help:StringShortener x:Key="stringShortener" />
        <help:EnumerableToStringConverter x:Key="coll2string" />
        <Style TargetType="TextBox" x:Key="InvalidTextBox">
            <Setter Property="BorderThickness" Value="2"/>
            <Setter Property="BorderBrush" Value="Red"/>
        </Style>
        <Style TargetType="TextBlock" x:Key="ValidationStar">
            <Setter Property="Text" Value="*"/>
            <Setter Property="FontWeight" Value="Bold"/>
            <Setter Property="Foreground" Value="Red"/>
            <Setter Property="Visibility" Value="Collapsed"/>
        </Style>
        <Style TargetType="Button" x:Key="smallButton">
            <Setter Property="Padding" Value="5,1"/>
            <Setter Property="Margin" Value="3,0"/>
        </Style>
        <Style TargetType="Button" x:Key="bigButton">
            <Setter Property="Padding" Value="5"/>
            <Setter Property="Margin" Value="3,0"/>
            <Setter Property="VerticalAlignment" Value="Center"/>
        </Style>
    </Application.Resources>
</Application>

<!-- ReSharper restore InconsistentNaming -->